package com.payment.trans;


import com.payment.request.TransRequest;
import com.payment.vo.PayResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName: PaymentService
 * @Description:
 * @author: fengcheng
 * @date: 2021/03/25
 */
@Slf4j
@Component("transRefund")
public class AbstractRefundTrans extends AbstractTrans {


    @Override
    public PayResult execute(TransRequest request) {
//        PaymentPlugin paymentPlugin = pluginService.getPaymentPlugin(PayTypeEnum.HANG_ZHOU_BANK_ALI_PAY_PLUGIN.getCode());
//        ZJPayResult result = new ZJPayResult();
//        paymentPlugin.pay(new TransRequest());
        return null;
    }



}
